package com.anzia.storeback.service;

import com.anzia.storeback.entity.Category;
import com.anzia.storeback.entity.Product;
import com.anzia.storeback.entity.Product_picture;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public interface ProductService {

    List<Category> getCategory();

    List<Product> getAllProduct();

    List getCategory_id();

    List<Product> getProductByCategory(int categoryID, int currentPage, int pageSize);

    List<Product> getProductByCategoryName(String categoryName);

    Product getProductByID(int product_id);

    List<Product_picture> getDetailsPicture(int product_id);

    List<Product> getProductBySearch(String search);

}
